html {
  height: 100%;
  body {
    height: 100%;
    #root {
      height: 100%;
      .App {
        height: 100%;
      }
    }
    ::-webkit-scrollbar {
      width: 5px;
      height: 5px;
      background: #fff;
    }

    ::-webkit-scrollbar-button {
      background: #949292;
      display: none;
    }

    ::-webkit-scrollbar-thumb {
      background: #949292;
      border-radius: 2.5px;
      width: 10px;
      cursor: pointer;
    }

    ::-webkit-scrollbar-track {
      background: transparent;
    }

    ::-webkit-scrollbar-track-piece {
      background: transparent;
    }
  }
}

.container {
  height: 100%;
  > .header {
    padding: 0 40px;
    background: #ffff;
    display: flex;
    align-items: center;

    /* 底部阴影 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 64px;
    .headerComponents {
      width: 100%;
      display: flex;
      justify-content: space-between;
      align-items: center;
      .title {
        color: #000;
        font-size: 24px;
        font-weight: 550;
      }
      .headerComponents-right {
        display: flex;
        align-items: center;
        gap: 20px;
        .item {
          font-size: 14px;
          display: flex;
          align-items: center;
          gap: 10px;
          .ant-select {
            width: 200px;
          }
        }
      }
    }
  }
  .layout {
    height: calc(100% - 64px);
    display: flex;
    .sider {
      height: 100%;
    }
    > .content {
      height: 100%;
      padding: 10px 0;
      .inner {
        background: #fff;
        margin: 0 16px;
        height: 100%;
        overflow: auto;
      }
    }
  }
}
.ant-breadcrumb {
  margin: 10px 16px;
  height: 22px;
}

.ant-layout-sider {
  background-color: #fff !important;
  position: static !important;
  height: auto !important;
  display: flex;
  flex-direction: column;
  padding-bottom: 0 !important;
  div.ant-layout-sider-trigger {
    position: static !important;
  }
  .ant-layout-sider-children {
    ul.ant-menu {
      background-color: #fff !important;
      > li.ant-menu-item {
        color: black !important;
        &:hover {
          color: #1677ff !important;
          background-color: #f2faff !important;
        }
      }
      li.ant-menu-item-selected {
        background-color: #f2faff !important;
        color: #1677ff !important;
      }
      li.ant-menu-item-active {
        color: #1677ff !important;
      }
      > li.ant-menu-submenu {
        margin: 4px;
        div.ant-menu-submenu-title {
          color: black !important;
          &:hover {
            color: #1677ff !important;
            background-color: #f2faff !important;
          }
        }
      }
    }
  }
}

.ant-menu-submenu {
  ul.ant-menu {
    background-color: #fff !important;
    > li.ant-menu-item {
      color: black !important;
      &:hover {
        color: #1677ff !important;
        background-color: #f2faff !important;
      }
    }
    li.ant-menu-item-selected {
      background-color: #f2faff !important;
      color: #1677ff !important;
    }
    li.ant-menu-item-active {
      color: #1677ff !important;
    }
  }
}

html,
body {
  height: 100%;
  #root {
    height: 100%;
    .App {
      height: 100%;
      > div.ant-layout {
        height: 100% !important;
        > div.header {
          height: 64px !important;
        }
        > div.ant-layout {
          height: calc(100% - 64px) !important;
          > .ant-layout-content {
            margin: 0px !important;
            height: 100% !important;
          }
          > .ant-layout-sider {
            height: 100% !important;
          }
        }
      }
    }
  }
}

.homePage {
  display: flex;
  flex-direction: column;
  padding: 12px;
  > .header {
    margin-bottom: 10px;
    font-size: 24px;
    color: #000;
    width: 100%;
    text-align: center;
    font-weight: 550;
    margin-bottom: 30px;
  }
  .activeList{
    display: grid;
    grid-template-columns: repeat(auto-fit, 300px);
    gap: 20px;
    padding: 20px;
  }
  .acitveItem {
    display: flex;
    flex-direction: column;
    width: 300px;
    gap: 12px;
    background-color: #fff;
    padding: 12px;
    border-radius: 8px;
    /* 阴影 */
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    img {
      height: 100px;
      object-fit: contain;
    }
    .activeInfo{
      display: flex;
      flex-direction: column;
      gap: 5px;
      >div{
        display: flex;
        font-size: 14px;
        color: #000;
        align-items: center;
        gap: 5px;
      }
    }
    .activeActive{
      display: flex;
      align-items: center;
      justify-content: space-evenly;
    }
  }
}

.activeDetail {
  width: 100%;
  height: 100%;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  .selectRankingAward{
    cursor: pointer;
    width: 40px;
    height: 40px;
    svg{
      width: 100%;
      height: 100%;
    }
  }
  > .header {
    margin-bottom: 10px;
    .ant-card-body {
      padding: 16px;
    }
    .headerInfo {
      display: flex;
      justify-content: space-between;
      font-size: 16px;
    }
  }
  .content {
    display: flex;
    gap: 10px;
    height: calc(100% - 70px);
    .contentLeft {
      flex: 3;
      height: 100%;
      .ant-card-body {
        padding: 5px;
      }
    }
    .contentRight {
      flex: 7;
      height: 100%;
      .ant-card-body {
        display: flex;
        flex-direction: column;
        padding: 5px;
        gap: 10px;
        height: 100%;
        .noticePoker {
          flex: 1;
          display: flex;
          flex-direction: column;
          .ant-card-body {
            padding: 5px;
            flex: 1;
            .noticePokerList {
              display: flex;
              justify-content: space-evenly;
              height: 100%;
              img {
                width: 130px;
                height: fit-content;
              }
            }
            .noticeTitleList {
              display: flex;
              justify-content: flex-start;
              height: 100%;
              white-space: pre-wrap;
            }
          }
        }
        .playerPoker {
          flex: 1;
          display: flex;
          flex-direction: column;
          .ant-card-body {
            padding: 5px;
            flex: 1;
            .playerPokerList {
              display: flex;
              justify-content: space-between;
              cursor: pointer;
              height: 100%;
              overflow-y: auto;
              .playerPokerItem {
                display: flex;
                flex-direction: column;
                gap: 10px;
                justify-content: space-between;
                align-items: center;
                padding: 20px 10px;
                border-bottom: 1px solid #eeeeee;
                &:hover {
                  background-color: #f5f5f5;
                }
              }
              .activity {
                background-color: #f5f5f5;
              }
              img {
                width: 130px;
                height: fit-content;
              }
            }
            .playerPokerList1 {
              cursor: pointer;
              height: 100%;
              overflow-y: auto;
              .playerPokerItem {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 20px 10px;
                border-bottom: 1px solid #eeeeee;
                &:hover {
                  background-color: #f5f5f5;
                }
              }
              .activity {
                background-color: #f5f5f5;
              }
              img {
                width: 130px;
                height: fit-content;
              }
            }
          }
        }
        .action {
          .ant-card-body {
            padding: 0px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 10px;
          }
        }
      }
    }
  }
}

.historyPage {
  height: 100%;
  padding: 12px;
  > .ant-btn {
    margin-bottom: 10px;
  }
}

.userInfo {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  font-size: 15px;
  padding-top: 100px;
  display: flex;
  gap: 20px;
  .title {
    font-size: 24px;
  }
  > .content {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .item {
    display: flex;
    align-items: center;
    gap: 10px;
    > span:first-child {
      width: 100px;
      text-align: right;
    }
    .ant-input,
    .ant-select,
    .ant-input-affix-wrapper {
      width: 400px;
    }
  }
  .buttonGroup {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 50px;
  }
}

.exchangeModal {
  .exchangeInner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    .item {
      display: flex;
      align-items: center;
      gap: 10px;
      > span {
        width: 80px;
        text-align: right;
        font-size: 14px;
        /* 超出省略号 */
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        cursor: pointer;
      }
      .ant-input,
      .ant-select,
      .ant-input-number {
        flex: 1;
      }
    }
  }
}
